package com.jeeplus.test.website.websiteNotice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jeeplus.test.website.websiteNotice.domain.entity.WebNotice;
import com.jeeplus.test.website.websiteNotice.domain.vo.WebNoticeReqVo;
import com.jeeplus.test.website.websiteNotice.domain.vo.WebNoticeRespVo;

public interface WebNoticeService extends IService<WebNotice> {

    Page<WebNoticeRespVo> getNoticePage(WebNoticeReqVo webNoticeReqVo, long current, long size);

    WebNoticeRespVo queryById(String id);

    Boolean addNotice(WebNoticeReqVo webNoticeReqVo);

    Boolean updateNotice(WebNoticeReqVo webNoticeReqVo);

    Boolean deleteNotice(String id);

}
